TARGET = mpripper

# python pathes
PYTHONDIR = C:\Python25
PYTHON = $(PYTHONDIR)\python.exe

# application files
SRC = about.py geom.py main.py

APP = dist\$(TARGET).exe
APP_LIST = $(SRC) setup.py

# clean commands
DEL = @del /F /Q
RM = @rmdir /S /Q

all: $(APP)

$(APP): $(APP_LIST)
	@echo $(APP)
	@$(PYTHON) setup.py >nul

clean:
	@if exist dist $(RM) dist
	@if exist build $(RM) build
	$(DEL) *.pyc >nul
